package com.shop.cereshop.app.dao.shop;

import com.shop.cereshop.app.param.shop.CereShopEnterpriseParam;
import com.shop.cereshop.commons.domain.shop.CereShopEnterprise;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CereShopEnterpriseDAO {
    int insert(CereShopEnterprise record);

    int insertSelective(CereShopEnterprise record);

    void update(CereShopEnterprise enterprise);

    CereShopEnterprise findByShopId(@Param("shopId") Long shopId);

    void insertParam(CereShopEnterpriseParam param);

    void updateParam(CereShopEnterpriseParam param);
}